#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   database_config.py
@Time    :   2024-07-09 13:05:33
@Author  :   chakcy 
@Email   :   947105045@qq.com
@description   :   database config
'''

class DatabaseConfig:  
    """数据库配置类（MySQL）"""
    def __init__(self, 
                 host:str, 
                 port:int, 
                 username:str, 
                 password:str, 
                 database_name:str, 
                 pool_size:str, 
                 max_overflow:str):  
        self.host = host  
        self.port = port  
        self.username = username  
        self.password = password  
        self.database_name = database_name  
        self.pool_size = pool_size  
        self.max_overflow = max_overflow